import request from '@/utils/request'

// 手动获取token
export function tokenapi(data) {
  return request({
    url: '/scg/enterprise/user-token/getUserByToken',
    method: 'post',
	data: data,
	defaultFromData:false
  })
}
export function useraddapi(userName,phone) {
  return request({
    url: '/scg/enterprise/user/add?userName=' + userName+'&phone='+phone,
    method: 'get',
	defaultFromData:false
  })
}


// 高级搜索
export function sdqygjssv1api(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/sdqygjssv1',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}
// 高级搜索
export function qylxdictapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/tags/def/config/line/pages',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}


// 区域
export function regionapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/zhpz_pqbj_list',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 行业
export function industryapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/company_industry_type_level1',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}
// 行业
export function industryapi2(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/company_industry_type_level2',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}
// 行业
export function industryapi3(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/company_industry_type_level3',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 企业列表 
export function sdqygjsslist(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/sdqygjss',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 企业列表 sdqygjsscount
export function sdqygjsscount(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/sdqygjsscount',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 工商信息
export function companybaseapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/company_base',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 电话、邮箱
export function tlxfsapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/qy_lxfs',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 曾用名
export function historyname(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/company_history_name',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 股东信息
export function partnerapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/opt_ent_partner_cn',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 社保人数
export function securityapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/annual_report_social_security',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 分支机构
export function branchapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/company_branch',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 分支机构
export function stdapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/opt_ent_partner_std',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 变更信息
export function changeapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/company_change',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 经营异常
export function abnormalapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/company_abnormal',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 行政处罚
export function punishapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/company_punish',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 重大税收违法信息
export function taxpunishapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/risk_tax_punish',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 欠税公告
export function taxinfoapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/company_own_tax_info',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 立案信息
export function filedcaseapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/risk_court_filed_case',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 限制高消费
export function xianxiaoapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/risk_xianxiao',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 失信被执行人
export function shixinapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/risk_shixin',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 开庭公告
export function noticeapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/risk_court_notice',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 裁判文书
export function awsuitapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/risk_lawsuit',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 法院公告
export function announcementapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/risk_court_announcement',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 被执行人
export function zhixingapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/risk_zhixing',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 资质证书
export function integrateapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/tb_certificate_integrate',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 行政许可
export function allowapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/company_allow',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 检查抽查信息
export function checkapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/company_check',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 融资历程
export function rongziapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/qimingpian_history_rongzi',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 招聘信息
export function employmentapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/company_employment',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 招投标 
export function mainapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/company_bid_main',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 购地信息 
export function rannouncementapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/jyqk_land_result_announcement',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 动产抵押 
export function chattelapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/company_chattel',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 股权出质 
export function pledgeapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/company_pledge',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 商标信息 
export function trademarkapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/ip_trademark',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 专利信息 
export function tableapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/opt_ip_patent_info_table',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 软件著作权 
export function softwareapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/ip_copyright_software',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 作品著作权 
export function worksapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/ip_copyright_works',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 网站备案详情 
export function icpapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/choreography/unified/path/api/tb_icp_base_info_list',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 自选 
export function addapi(data) {
  return request({
    url: '/scg/enterprise/user/collect/add',
    method: 'post',
	data: data,
	defaultFromData:false
  })
}

// 取消自选 
export function removeapi(id) {
  return request({
    url: '/scg/enterprise/user/collect/remove/' + id,
    method: 'get',
	// data: data,
	defaultFromData:false
  })
}

//  我收藏的企业
export function usercollectapi(data) {
  return request({
    url: '/scg/c10yapi/choreography/unified/path/api/check_add_in_user_collect',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}
//  获取企业id
export function companyidapi(data) {
  return request({
    url: '/scg/c10yapi/choreography/unified/path/api/get_companyid_by_credit_no',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

//  获取企业tag
export function basetagapi(data) {
  return request({
    url: '/gw_server/scg/c10yapi/tags/biz/findTagByBizId/company_base_tag',
    method: 'post',
	data: data,
	defaultFromData:false
  })
}
